home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2003 November A
/
PCWK1103A.iso
/
Adobe After Effects 6.0 tryout
/
MM5.Cab
/
F3701_ReduceOpenGLTextureSize.jsx.304FA6F7_2783_11D4_8520_00C04F602FD3
< prev
next >
Wrap
Text File
|
2003-07-18
|
805b
|
12 lines
// Place this file in After Effects/Scripts/Startup folder if your graphics card is an older model
// that can't handle large textures (symptoms include video noise or poor performance while
// dragging layers with OpenGL enabled). This script limits the size of textures to 512 x 512 pixels.
// If this script has not been enabled, the default limit is 800 x 800. Note that enabling this script
// sets the new limit in your preferences file, so re-disabling the script will not have an
// effect unless you also delete your preferences file.
// You can try even smaller values if 512 doesn't work (e.g. 256), or
// larger values if you have a card that can handle it (use at your own risk).
app.preferences.savePrefAsLong("OpenGL 3D", "Auto Downsample Textures Larger Than (pixels)", 512);